package edu.hebtu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Blob;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {             //用户表

    private String userId;      //账号
    private String password;    //密码
    private Date createDate;    //创建时间
    private String phone;       //手机号
    private String card;        //身份证号
    private String name;        //姓名
    private Integer sex;        //性别
    private Blob photo;         //照片
    private String subjectId;   //教授科目
    private String parent;      //车辆类型
    private Integer userType;   //用户类别  0:学员，1:教练
    private String creator;     //创建者
    private String state;       //状态标志      appear：正常，licenced：已拿证，disappear：已删除




    private String distributionSubjectTwoTrainerId;     //科目二教练编号
    private String distributionSubjectTwoTrainerName;   //科目二教练名称
    private String distributionSubjectThreeTrainerId;   //科目三教练编号
    private String distributionSubjectThreeTrainerName; //科目三教练名称

}
